package md.mru.transfer.optimized.domain;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "salaries", schema = "c##mru_optimized")
public class Salary implements Serializable {

    private static final long serialVersionUID = -3537488395262987948L;

    @Id
    @Column(name = "id", unique = true, nullable = false, precision = 10, scale = 0)
    private long id;

    @Column(name = "salary_level_id")
    private long salaryLevel;

    @Column(name = "salary_step_id")
    private long salaryStep;

    @Column(name = "amount", precision = 10, scale = 0)
    private long amount;

    @Column(name = "folder", precision = 10, scale = 0)
    private long folder;

    @Temporal(TemporalType.DATE)
    @Column(name = "establishment_date", length = 7)
    private Date establishmentDate;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getSalaryLevel() {
        return salaryLevel;
    }

    public void setSalaryLevel(long salaryLevel) {
        this.salaryLevel = salaryLevel;
    }

    public long getSalaryStep() {
        return salaryStep;
    }

    public void setSalaryStep(long salaryStep) {
        this.salaryStep = salaryStep;
    }

    public long getAmount() {
        return amount;
    }

    public void setAmount(long amount) {
        this.amount = amount;
    }

    public long getFolder() {
        return folder;
    }

    public void setFolder(long folder) {
        this.folder = folder;
    }

    public Date getEstablishmentDate() {
        return establishmentDate;
    }

    public void setEstablishmentDate(Date establishmentDate) {
        this.establishmentDate = establishmentDate;
    }
}


